package net.sppan.blog.store;

import net.sppan.blog.model.User;
import net.sppan.blog.utils.LocalCache;

public class UserVerificationCache {

	private static LocalCache<String, User> verificationCache = new LocalCache<String, User>("verificationCache", 10000000);

	public static void put(String key, User value) {
		verificationCache.put(key, value, false, 600);
	}

	public static User get(String key) {
		return verificationCache.get(key);
	}

}
